package com.wenson.behavior.observer;

/**
 * @ClassName: HandChopper
 * @Author: luowangcheng
 * @Date: 2024/6/16 16:51
 * @Description:
 */
public class HandChopper extends Buyer {
    public HandChopper(String name) {
        super(name);
    }

    @Override
    public void inform(String product) {
        System.out.print(name);
        System.out.println("购买：" + product);
    }
}
